package com.gagakuai.bpm.domian.events;

import com.amazonaws.services.dynamodbv2.xspec.B;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/*
 * @program: bpm_server
 * @description: 拒绝事件
 * @author: houhong
 * @create: 2022-07-07 16:29
 */
@Getter
@Setter
@Slf4j
public class RejectTaskEvent extends BaseEvent<RejectTaskEvent.RejectTaskEventEventData> {

    public RejectTaskEvent(Object source) {
        super(source);

        log.info("#创建 【拒绝事件】#");
        super.setEventData((RejectTaskEventEventData) source);
    }

    public static class RejectTaskEventEventData {

        /*
         *
         * 办理人
         */
        private List<String> assigneeList;


        /*
         *  流程实列id
         *
         */
        private String processId;


        /*
         * 拒绝发起taskId
         */
        private String rejectTaskId;



        public List<String> getAssigneeList() {
            return assigneeList;
        }

        public void setAssigneeList(List<String> assigneeList) {
            this.assigneeList = assigneeList;
        }

        public String getProcessId() {
            return processId;
        }

        public void setProcessId(String processId) {
            this.processId = processId;
        }

        public String getRejectTaskId() {
            return rejectTaskId;
        }

        public void setRejectTaskId(String rejectTaskId) {
            this.rejectTaskId = rejectTaskId;
        }
    }

}